﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace Dao
{
   public interface IDaoBase
    {
        /// <summary>
        /// 返回列的列表
        /// </summary>
        /// <returns></returns>
        List<ColumnModel> GetColumnList();
        /// <summary>
        /// 获取表信息
        /// </summary>
        /// <returns></returns>
        List<TableModel> GetTable();
        /// <summary>
        /// 表名
        /// </summary>
        string TableName { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        string PrimaryKey { get; set; }
       /// <summary>
       /// 数据库列表
       /// </summary>
       /// <returns></returns>
       List<string> GetDbList();
    }
}
